* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    width: 100%; 
    font-size: 1.5vmin;
}


.container {
    display: flex;
    flex-direction: row;
    width: 90%;
    height: 80%;
    position: absolute;
    top: 15%;
    left: 2.5%;
}

.plano {
    flex: 3;
    margin-right: 1%;
    background-color: #f0f0f0; 
    display: flex; /* Center image */
    justify-content: center;
    align-items: center;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.plano img {
    max-width: 100%;
    max-height: 100%;
    object-fit:scale-down; /* Ensures the image fits inside without cropping */
}

.listado-profesores {
    flex: 4;
    padding: 10px;
    overflow-y: auto;
    font-size: 1.5vmin;
}

.listado-profesores h2 {
    text-align: center;
    margin-bottom: 10px;
}

.listado-profesores ul {
    list-style-type: none;
    padding: 0;
}

.listado-profesores li {
    margin-bottom: 5px;
    padding: 5px;
    border: 1px solid #000080;
    border-radius: 5px;
}


.salon-6a {
    background-color: lightblue;
}
.salon-6b {
    background-color: lightblue;
}
.salon-6c {
    background-color: lightblue;
}
.salon-6d {
    background-color: lightblue;
}
.salon-7a {
    background-color: lightgreen;
}
.salon-7b {
    background-color: lightgreen;
}
.salon-7c {
    background-color: lightgreen;
}
.salon-7d {
    background-color: lightgreen;
}
.salon-8a {
    background-color: rgb(85, 189, 223);
}
.salon-8b {
    background-color: rgb(85, 189, 223);
}
.salon-8c {
    background-color: rgb(85, 189, 223);
}
.salon-9a {
    background-color: rgb(255, 217, 0);
}
.salon-9b {
    background-color: rgb(255, 217, 0);
}
.salon-9c {
    background-color: rgb(255, 217, 0);
}
.salon-10a {
    background-color: rgb(255, 149, 110);
}
.salon-10b {
    background-color: rgb(255, 149, 110);
}
.salon-10c {
    background-color: rgb(255, 149, 110);
}
.salon-11a {
    background-color: rgb(255, 136, 0);
}
.salon-11b {
    background-color: rgb(255, 136, 0);
}
